Skip to content

Commit

Permalink
ruff lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jonwright committed Oct 31, 2023
1 parent 778c232 commit 918cbdc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/testcol.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@

class testcol( unittest.TestCase):
def setUp(self):
open("test.col","w").write("""# x a b c
with open("test.col","w") as f:
f.write("""# x a b c
0 1 2 3
5 6 1 2
0 4 2 3
32 5 6 2
""")
""")
def test1(self):
c = columnfile.columnfile( "test.col" )
self.assertEqual( list(c.b) , [ 2, 1, 2, 6] )
Expand Down

0 comments on commit 918cbdc

Please sign in to comment.