Home / Function/ test_super_len_with_fileno() — requests Function Reference

test_super_len_with_fileno() — requests Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  704a7d81_ef72_0404_36c8_ae2e0169d44e["test_super_len_with_fileno()"]
  81f7dd40_8de4_e5e3_d0f0_3d84ce7fbb59["TestSuperLen"]
  704a7d81_ef72_0404_36c8_ae2e0169d44e -->|defined in| 81f7dd40_8de4_e5e3_d0f0_3d84ce7fbb59
  style 704a7d81_ef72_0404_36c8_ae2e0169d44e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_utils.py lines 145–149

    def test_super_len_with_fileno(self):
        with open(__file__, "rb") as f:
            length = super_len(f)
            file_data = f.read()
        assert length == len(file_data)

Domain

Subdomains

Defined In

Frequently Asked Questions

What does test_super_len_with_fileno() do?
test_super_len_with_fileno() is a function in the requests codebase, defined in tests/test_utils.py.
Where is test_super_len_with_fileno() defined?
test_super_len_with_fileno() is defined in tests/test_utils.py at line 145.

Analyze Your Own Codebase

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

Try Supermodel Free