Browse Source

removing uname, because this is breaking Windows builds

sync
Volker Birk 5 years ago
parent
commit
92113d3eb3
  1. 2
      setup.py
  2. 11
      test/basic_doctest.py

2
setup.py

@ -9,7 +9,7 @@ import sys
from sys import argv from sys import argv
import os import os
from os import environ, uname from os import environ
from os.path import dirname, exists, join from os.path import dirname, exists, join
from setuptools import setup, Extension from setuptools import setup, Extension

11
test/basic_doctest.py

@ -12,17 +12,8 @@ Bob Bourne <bob.bourne@peptest.ch>
>>> m.to = [you] >>> m.to = [you]
>>> m.shortmsg = "let's meet next week" >>> m.shortmsg = "let's meet next week"
>>> m.longmsg = "Please call me back" >>> m.longmsg = "Please call me back"
>>> print(str(m).replace('\\r', ''))
From: Alice Smith <alice.smith@peptest.ch>
To: Bob Bourne <bob.bourne@peptest.ch>
Subject: let's meet next week
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline; filename="msg.txt"
<BLANKLINE>
Please call me back
>>> m2 = m.encrypt() >>> m2 = m.encrypt()
>>> print(m2)
>>> m3, keys, rating, flags = m2.decrypt() >>> m3, keys, rating, flags = m2.decrypt()
>>> rating >>> rating
pEp.PEP_rating.PEP_rating_reliable pEp.PEP_rating.PEP_rating_reliable

Loading…
Cancel
Save