Skip to content

Commit

Permalink
byron first attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
HMiry committed Nov 27, 2023
1 parent 2172467 commit 65fcb55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mytest/byron/classes/byron-test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest
from byron.classes.byron import Byron # Corrected import statement

from byron.classes.byron import Byron
import networkx as nx
# def test_str_method():
# byron = Byron()
# expected_str = f'This is Byron v{Byron.__version__} "{Byron.__codename__}"'
Expand All @@ -13,7 +13,7 @@

def test_networkx_version():
byron = Byron()
import networkx as nx

expected_nx_version = f'{nx.__version__}'
assert byron.nx == expected_nx_version, "NetworkX version attribute does not match."

Expand Down

0 comments on commit 65fcb55

Please sign in to comment.