coding style: autopep --in-place --recursive --jobs 4 --max-line-length 120 gnpy/ tests/

Change-Id: I2f0fca5aa1314f9bb546a3e6dc712a42580cd562
This commit is contained in:
Jan Kundrát
2020-05-19 12:40:00 +02:00
parent 145653df6e
commit 3548ed74e2
22 changed files with 718 additions and 560 deletions

View File

@@ -1,7 +1,8 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import json, pytest
import json
import pytest
from pathlib import Path
from gnpy.core.parameters import SimParams
@@ -11,6 +12,7 @@ from gnpy.core.elements import Fiber
TEST_DIR = Path(__file__).parent
DATA_DIR = TEST_DIR / 'data'
def test_sim_parameters():
f = open(DATA_DIR / 'test_sim_params.json')
j = json.load(f)