Home / Function/ test_super_len_with_tell() — requests Function Reference

test_super_len_with_tell() — requests Function Reference

Architecture documentation for the test_super_len_with_tell() function in test_utils.py from the requests codebase.

Entity Profile

Dependency Diagram

graph TD
  11adc55f_0a3e_d39b_91ed_94cc21ad13f2["test_super_len_with_tell()"]
  81f7dd40_8de4_e5e3_d0f0_3d84ce7fbb59["TestSuperLen"]
  11adc55f_0a3e_d39b_91ed_94cc21ad13f2 -->|defined in| 81f7dd40_8de4_e5e3_d0f0_3d84ce7fbb59
  b16ffa26_8069_dfbb_db7d_3ae1f171dc98["StringIO()"]
  11adc55f_0a3e_d39b_91ed_94cc21ad13f2 -->|calls| b16ffa26_8069_dfbb_db7d_3ae1f171dc98
  style 11adc55f_0a3e_d39b_91ed_94cc21ad13f2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_utils.py lines 139–143

    def test_super_len_with_tell(self):
        foo = StringIO.StringIO("12345")
        assert super_len(foo) == 5
        foo.read(2)
        assert super_len(foo) == 3

Domain

Subdomains

Defined In

Calls

Frequently Asked Questions

What does test_super_len_with_tell() do?
test_super_len_with_tell() is a function in the requests codebase, defined in tests/test_utils.py.
Where is test_super_len_with_tell() defined?
test_super_len_with_tell() is defined in tests/test_utils.py at line 139.
What does test_super_len_with_tell() call?
test_super_len_with_tell() calls 1 function(s): StringIO.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free