apache_beam.typehints.decorators_test_py3 module
Tests for decorators module with Python 3 syntax not supported by 2.7.
-
class
apache_beam.typehints.decorators_test_py3.
IOTypeHintsTest
(methodName='runTest')[source]
Bases: unittest.case.TestCase
Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.
-
test_from_callable
()[source]
-
test_from_callable_partial_annotations
()[source]
-
test_from_callable_class
()[source]
-
test_from_callable_method
()[source]
-
test_from_callable_convert_to_beam_types
()[source]
-
test_from_callable_partial
()[source]
-
test_getcallargs_forhints
()[source]
-
test_getcallargs_forhints_default_arg
()[source]
-
test_getcallargs_forhints_missing_arg
()[source]
-
test_origin
()[source]
-
class
apache_beam.typehints.decorators_test_py3.
DecoratorsTest
(methodName='runTest')[source]
Bases: unittest.case.TestCase
Create an instance of the class that will use the named test
method when executed. Raises a ValueError if the instance does
not have a method with the specified name.
-
test_no_annotations
()[source]