Skip to content

Commit

Permalink
1.0.0-rc1: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ebonnal committed Oct 12, 2024
1 parent dc2b51d commit dccab29
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion pycout/cout.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ def __lshift__(self, other: Any) -> Optional["Cout"]:
sys.stdout.write("".join(self.line))
sys.stdout.write("\n")
sys.stdout.flush()
self.line.clear()
return None
return Cout(self.line + [str(other)])

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="pycout",
version="1.0.0-rc",
version="1.0.0-rc1",
packages=["pycout"],
url="http://github.com/EnzoBnl/pycout",
license="Apache 2.",
Expand Down
2 changes: 2 additions & 0 deletions tests/test_cout.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ def test(self):
self.assertEqual(partial_cout << 1, Cout(["Hello", " World!", "1"]))

self.assertIsNone(partial_cout << endl)
self.assertEqual(partial_cout << 1, Cout(["Hello", " World!", "1"]))

self.assertIsNone(partial_cout << endl)

0 comments on commit dccab29

Please sign in to comment.