test_super_len_tell_ioerror() — requests Function Reference
Architecture documentation for the test_super_len_tell_ioerror() function in test_utils.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD ce653a5f_af8a_44b5_d65c_03181338389d["test_super_len_tell_ioerror()"] 81f7dd40_8de4_e5e3_d0f0_3d84ce7fbb59["TestSuperLen"] ce653a5f_af8a_44b5_d65c_03181338389d -->|defined in| 81f7dd40_8de4_e5e3_d0f0_3d84ce7fbb59 f5a1bac9_e968_2e71_71b9_d80f6e95db20["seek()"] ce653a5f_af8a_44b5_d65c_03181338389d -->|calls| f5a1bac9_e968_2e71_71b9_d80f6e95db20 19d07497_0f69_2eab_ef4d_4af9a17dd5d0["tell()"] ce653a5f_af8a_44b5_d65c_03181338389d -->|calls| 19d07497_0f69_2eab_ef4d_4af9a17dd5d0 style ce653a5f_af8a_44b5_d65c_03181338389d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_utils.py lines 86–96
def test_super_len_tell_ioerror(self, error):
"""Ensure that if tell gives an IOError super_len doesn't fail"""
class NoLenBoomFile:
def tell(self):
raise error()
def seek(self, offset, whence):
pass
assert super_len(NoLenBoomFile()) == 0
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_super_len_tell_ioerror() do?
test_super_len_tell_ioerror() is a function in the requests codebase, defined in tests/test_utils.py.
Where is test_super_len_tell_ioerror() defined?
test_super_len_tell_ioerror() is defined in tests/test_utils.py at line 86.
What does test_super_len_tell_ioerror() call?
test_super_len_tell_ioerror() calls 2 function(s): seek, tell.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free