Commit Graph

8594 Commits

Author SHA1 Message Date
Alexander Ralph Michael Minges
4316e5936e Use chardet to guess the character encoding when on python3 2013-01-15 20:55:42 +01:00
Valentin Lorentz
bbd9d1636a Math: Fix rounding. 2013-01-11 19:44:21 +01:00
Valentin Lorentz
c1f19b3353 Fix locales path resolution with Python 3. 2013-01-11 18:29:04 +01:00
Valentin Lorentz
0ff58db4f0 Math: Fix tests to allow higher precision. 2013-01-11 18:15:02 +01:00
Valentin Lorentz
ea63da3e7d Math: As unit conversion algorithm fails with high precision, make significant digits matter. 2013-01-11 18:14:11 +01:00
Valentin Lorentz
018ee3456d ShrinkUrl: Retry shrinking twice if it fails. 2013-01-07 20:22:23 +01:00
Valentin Lorentz
589d55ebcd NickAuth: Use assertEqual for string comparison in tests ('foo' is not 'foo' with Pypy). 2013-01-07 17:15:17 +01:00
Valentin Lorentz
726558115d core: Prevent infinite recursion with Pypy. 2013-01-06 20:24:02 +01:00
Valentin Lorentz
add5e07d97 Dict: Fix encoding. 2013-01-06 19:54:04 +01:00
Valentin Lorentz
8e6aa116d3 travis.yml: Add Pypy to the list of Python versions. 2013-01-06 19:41:52 +01:00
Valentin Lorentz
5c0f0fb3c2 travis.yml: Exclude PluginDownloader from being tested (Github API limit rate...). 2013-01-06 17:18:24 +01:00
Valentin Lorentz
413bdbf80e supybot-test: Add the --exclude option. 2013-01-06 17:17:26 +01:00
Valentin Lorentz
603f44129d Web: Fix Python 3 compatibility. 2013-01-06 17:06:26 +01:00
Valentin Lorentz
8a8f380a6b Internet: Fix Python 3 compatibility. 2013-01-06 16:58:02 +01:00
Valentin Lorentz
418b3e007c Filter: Fix encoding with Python 3. 2013-01-06 16:53:07 +01:00
Valentin Lorentz
7e0d868db1 Merge branch 'py3k-backport' into testing 2013-01-06 16:46:29 +01:00
Valentin Lorentz
df62ddad78 Google: Fix encoding with Python 3. 2013-01-06 16:46:21 +01:00
Valentin Lorentz
755a1c9491 Merge branch 'py3k-backport' into testing
Conflicts:
	sandbox/run_2to3.sh
2013-01-06 13:41:13 +01:00
Valentin Lorentz
cca03ba06b Copy docs to py3k/ too. 2013-01-06 13:39:56 +01:00
Valentin Lorentz
d04c87c95b Merge branch 'py3k-backport' into testing 2013-01-06 13:35:37 +01:00
Valentin Lorentz
6cf4901344 Fix 2to3 fixers to work with Python 3. 2013-01-06 13:35:20 +01:00
Valentin Lorentz
fee7ed4cd1 Fix 2to3 fixers to work with Python 3. 2013-01-06 13:34:13 +01:00
Valentin Lorentz
dc7ac9a7a8 travis.yml: Fix Python 3 build. 2013-01-06 13:31:34 +01:00
Valentin Lorentz
a5292ae3b4 core: Fix issue with Python 2.6 (cStringIO is buggy). 2013-01-06 11:34:32 +01:00
Valentin Lorentz
52e91d5f9c src/test.py: Implement assertIn for old Python versions. 2013-01-05 21:16:30 +01:00
Valentin Lorentz
2bcffdf523 src/test.py: Implement assertIs for old Python versions. 2013-01-05 21:13:36 +01:00
Valentin Lorentz
139cb39ec5 MoobotFactoids: Fix tests with fastest computers. 2013-01-05 21:12:16 +01:00
Valentin Lorentz
fdb7a764d4 core & Filter & Owner: Fix Python 2.6 compatibibility. 2013-01-05 20:51:36 +01:00
Valentin Lorentz
b7b60630d8 Owner: Skip test of @rename for nested commands. 2013-01-05 20:32:39 +01:00
Valentin Lorentz
f44e033827 MoobotFactoids: Prevent race condition in tests (for fastest computers). 2013-01-05 20:19:59 +01:00
Valentin Lorentz
be3017f1de Filter: Fix encoding issues in tests. 2013-01-05 20:05:36 +01:00
Valentin Lorentz
6e452e0496 Filter: Fix @rot13 with non-ascii strings. 2013-01-05 20:05:22 +01:00
Valentin Lorentz
e3e2b23215 src/test.py: Encode strings only if they are not already using unicode. 2013-01-05 20:04:46 +01:00
Valentin Lorentz
48b4fc5159 travis.yml: Remove Python 2.5 (support has already been dropped). 2013-01-05 19:22:45 +01:00
Valentin Lorentz
422dfc3679 PluginDownloader: Rename gsf to code4lib (upstream change). 2013-01-05 19:20:35 +01:00
Valentin Lorentz
775a1a2cde PluginDownloader: Remove gsf tests (too long). 2013-01-05 19:20:03 +01:00
Valentin Lorentz
2177429618 Web: Remove netcraft (which does not seem to want bots). 2013-01-05 19:14:58 +01:00
Valentin Lorentz
63a4285941 MoobotFactoids: Add count of recent/top factoids (removed while internationalizing). 2013-01-05 19:13:37 +01:00
Valentin Lorentz
5afff1c0d6 MoobotFactoids: Fix encoding issue in tests. 2013-01-05 19:09:46 +01:00
Valentin Lorentz
bc7051e515 core: Fix tests of plugins using user id for checking capabilities. 2013-01-05 19:06:49 +01:00
Valentin Lorentz
db48d78050 Internet: Fix whois of domains whose whois server is too lazy to close a connection. 2013-01-05 18:46:56 +01:00
Valentin Lorentz
10197b9956 Internet: Fix whois on .com domains (if too many domains matched). 2013-01-05 18:20:52 +01:00
Valentin Lorentz
dd74982969 Internet: Remove test which fails if it is run too much ('WHOIS LIMIT EXCEEDED'). 2013-01-05 18:20:32 +01:00
Valentin Lorentz
5f1d7cc097 Web: Fix test of snarfing (Microsoft changes the title based on location of the computer). 2013-01-05 18:03:13 +01:00
Valentin Lorentz
918092a54d Web: Fix snarfing of titles with UTF-8 characters. 2013-01-05 18:02:35 +01:00
Valentin Lorentz
f9e8c35f01 travis.yml: fix config. 2013-01-05 17:44:27 +01:00
Valentin Lorentz
7edbb7b6c3 core: Fix tests using invalid hostmask. 2013-01-05 17:27:20 +01:00
Valentin Lorentz
29b9e080ee travis.yml: Add pytz to the dependencies list. 2013-01-05 17:24:14 +01:00
Valentin Lorentz
a11cb6478a ChannelStats: Fix tests. 2013-01-04 23:03:00 +01:00
Valentin Lorentz
4c23fae4d3 ShrinkUrl: Fix tests. 2013-01-04 22:56:12 +01:00