Preserve objects identity
Registered by
Michal Kwiatkowski
While Pythoscope keeps track of objects and methods called on them it doesn't track the way they are passed around. Because of that it doesn't preserve their identity and can't even reconstruct them properly in other objects' tests.
For example, a code like that:
class Something(object):
pass
def compare(x, y):
return x is y
obj = Something()
compare(obj, obj)
would generate a bogus test case, by constructing each argument to compare() separately.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- High
- Drafter:
- Michal Kwiatkowski
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- 0.4-setup-and-teardown
- Started by
- Michal Kwiatkowski
- Completed by
- Michal Kwiatkowski
Related branches
Related bugs
Sprints
Whiteboard
(?)
Work Items
Dependency tree
* Blueprints in grey have been implemented.