File: compat.py

package info (click to toggle)
python-httpretty 1.1.4-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 712 kB
  • sloc: python: 4,233; makefile: 72
file content (4 lines) | stat: -rw-r--r-- 134 bytes parent folder | download | duplicates (3)
1
2
3
4
try:
    from unittest.mock import Mock, patch, call, MagicMock
except ImportError:
    from mock import Mock, patch, call, MagicMock