Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • C cpython
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • cpython
  • Repository
  • cpython
  • Lib
  • test
  • test_struct.py
Find file BlameHistoryPermalink
  • Tim Peters's avatar
    Access _struct attributes directly instead of mucking with getattr. · 852eae1b
    Tim Peters authored Jun 05, 2006
    string_reverse():  Simplify.
    
    assertRaises():  Raise TestFailed on failure.
    
    test_unpack_from(), test_pack_into(), test_pack_into_fn():  never
    use `assert` to test for an expected result (it doesn't test anything
    when Python is run with -O).
    852eae1b
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7