Skip to content

Conversation

Bibo-Joshi
Copy link
Member

  • Makes test_class_has_slots_and_dict use the correct relative path for our test setup, so it actually tests something :D
  • Handles windows
  • handles the __dict__ check for classes where __dict__ is in some parents __slots__, but we can't see that through MRO b/c of python magic (most notably for ABCs)

This caused some test failures in #1844 #2622 and I figured it's cleaner to just handles this in master directy …

@Bibo-Joshi Bibo-Joshi added the ⚙️ tests affected functionality: tests label May 30, 2021
@Bibo-Joshi Bibo-Joshi requested a review from harshil21 May 30, 2021 17:46
Copy link
Member

@harshil21 harshil21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops my bad, looks fine.

@Bibo-Joshi Bibo-Joshi merged commit 653691f into master May 30, 2021
@Bibo-Joshi Bibo-Joshi deleted the slot-fixes branch May 30, 2021 18:32
sakibguy added a commit to sakibguy/python-telegram-bot that referenced this pull request Jun 1, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jun 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
⚙️ tests affected functionality: tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants