Skip to content

namedtuple breaks refleak tests #46700

Closed
Closed

Description

@tiran
BPO 2448
Nosy @rhettinger, @abalkin, @tiran

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/rhettinger'
closed_at = <Date 2008-05-08.20:43:27.718>
created_at = <Date 2008-03-21.18:54:50.156>
labels = ['tests', 'library', 'type-crash']
title = 'namedtuple breaks refleak tests'
updated_at = <Date 2008-05-08.20:43:27.717>
user = 'https://github.com/tiran'

bugs.python.org fields:

activity = <Date 2008-05-08.20:43:27.717>
actor = 'christian.heimes'
assignee = 'rhettinger'
closed = True
closed_date = <Date 2008-05-08.20:43:27.718>
closer = 'christian.heimes'
components = ['Library (Lib)', 'Tests']
creation = <Date 2008-03-21.18:54:50.156>
creator = 'christian.heimes'
dependencies = []
files = []
hgrepos = []
issue_num = 2448
keywords = []
message_count = 3.0
messages = ['64258', '64456', '66446']
nosy_count = 3.0
nosy_names = ['rhettinger', 'belopolsky', 'christian.heimes']
pr_nums = []
priority = 'high'
resolution = 'out of date'
stage = None
status = 'closed'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue2448'
versions = ['Python 2.6']

Activity

  1. tiran commented on Mar 21, 2008

    @tiran
    MemberAuthor
    trunk$ ./python Lib/test/regrtest.py -ubsddb,network -R::    
    test_collections
    test_collections
    beginning 9 repetitions
    123456789
    test test_collections failed -- Traceback (most recent call last):
      File "/home/heimes/dev/python/trunk/Lib/doctest.py", line 2131, in runTest
        raise self.failureException(self.format_failure(new.getvalue()))
    AssertionError: Failed doctest test for collections.namedtuple
      File "/home/heimes/dev/python/trunk/Lib/collections.py", line 13, in
    namedtuple
    
    ----------------------------------------------------------------------
    File "/home/heimes/dev/python/trunk/Lib/collections.py", line 16, in
    collections.namedtuple
    Failed example:
        Point = namedtuple('Point', 'x y')
    Exception raised:
        Traceback (most recent call last):
          File "/home/heimes/dev/python/trunk/Lib/doctest.py", line 1231, in
    __run
            compileflags, 1) in test.globs
          File "<doctest collections.namedtuple[0]>", line 1, in <module>
            Point = namedtuple('Point', 'x y')
        NameError: name 'namedtuple' is not defined
  2. added
    stdlibStandard Library Python modules in the Lib/ directory
    testsTests in the Lib/test dir
    type-crashA hard crash of the interpreter, possibly with a core dump
    on Mar 21, 2008
  3. abalkin commented on Mar 25, 2008

    @abalkin
    Member

    This is a duplicate of bpo-2223. (See msg63244.)

  4. tiran commented on May 8, 2008

    @tiran
    MemberAuthor

    The tests are passing again.

  5. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

stdlibStandard Library Python modules in the Lib/ directorytestsTests in the Lib/test dirtype-crashA hard crash of the interpreter, possibly with a core dump

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions