Skip to content

Commit

Permalink
pls gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
s7nfo committed Jul 2, 2024
1 parent a39f332 commit bfd555c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions python/cirron/tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,6 @@ def __enter__(self):
while not os.path.exists(self._trace_file):
pass

print(0)

return self

def __exit__(self, exc_type, exc_value, traceback):
Expand Down
4 changes: 1 addition & 3 deletions python/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
class Test(unittest.TestCase):
def test_tracer(self):
with Tracer() as t:
for _ in range(10):
print(0)
print(t.trace)
os.write(1, b"Hello\n")

self.assertEqual(len(t.trace), 3)

Expand Down

0 comments on commit bfd555c

Please sign in to comment.