nivaldoh commented on code in PR #23879:
URL: https://github.com/apache/beam/pull/23879#discussion_r1008577040


##########
sdks/python/apache_beam/transforms/util_test.py:
##########
@@ -1063,6 +1065,45 @@ def test_tostring_kvs_empty_delimeter(self):
       assert_that(result, equal_to(["one1", "two2"]))
 
 
+class LogElementsTest(unittest.TestCase):
+  @pytest.fixture(scope="function")
+  def _capture_stdout_log(request, capsys):
+    with TestPipeline() as p:
+      result = (p | beam.Create([
+          TimestampedValue(
+              "event",
+              datetime(2022, 10, 1, 0, 0, 0, 0,
+                        tzinfo=pytz.UTC).timestamp()),
+          TimestampedValue(
+              "event",
+              datetime(2022, 10, 2, 0, 0, 0, 0,
+                        tzinfo=pytz.UTC).timestamp()),
+      ]) \

Review Comment:
   Oops, those were leftovers from testing. Removed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to