<?xml version="1.0" encoding="utf-8" ?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Програмиране с Python</title>
<link>http://oldfmi.py-bg.net/forums/</link>
<description>Последни 35 отговора във форумите на курса Програмиране с Python</description>
<language>en</language>
<pubDate>Fri, 27 Sep 2013 19:09:06 +0000</pubDate>

<item>
<title>nb on "4та wrong tests"</title>
<link>http://oldfmi.py-bg.net/forums/topic/82#post-531</link>
<pubDate>Tue, 01 May 2007 18:54:07 +0000</pubDate>
<dc:creator>nb</dc:creator>
<guid isPermaLink="false">531@http://oldfmi.py-bg.net/forums/</guid>
<description>&#60;p&#62;Последния ред от функцията ти &#60;code&#62;__gt__&#60;/code&#62; e &#60;code&#62;self.contains(i)&#60;/code&#62; и няма &#60;code&#62;return&#60;/code&#62;. Така винаги връща &#60;code&#62;None&#60;/code&#62;.
&#60;/p&#62;</description>
</item>
<item>
<title>uZer on "4та wrong tests"</title>
<link>http://oldfmi.py-bg.net/forums/topic/82#post-528</link>
<pubDate>Mon, 30 Apr 2007 18:23:02 +0000</pubDate>
<dc:creator>uZer</dc:creator>
<guid isPermaLink="false">528@http://oldfmi.py-bg.net/forums/</guid>
<description>&#60;p&#62;някой да ми обясни това&#60;/p&#62;
&#60;p&#62;======================================================================&#60;/p&#62;
&#60;p&#62;FAIL: testCmp (tester.ProblemTests)&#60;/p&#62;
&#60;p&#62;----------------------------------------------------------------------&#60;/p&#62;
&#60;p&#62;Traceback (most recent call last):&#60;/p&#62;
&#60;p&#62;  File &#34;.../test.py&#34;, line 110, in testCmp&#60;/p&#62;
&#60;p&#62;    self.assertTrue(Interval(7, 22) &#38;gt; Interval(8, 22))&#60;/p&#62;
&#60;p&#62;AssertionError&#60;/p&#62;
&#60;p&#62;проверих при мен. дава ми true.
&#60;/p&#62;</description>
</item>
<item>
<title>rattus on "4та wrong tests"</title>
<link>http://oldfmi.py-bg.net/forums/topic/82#post-527</link>
<pubDate>Mon, 30 Apr 2007 16:50:44 +0000</pubDate>
<dc:creator>rattus</dc:creator>
<guid isPermaLink="false">527@http://oldfmi.py-bg.net/forums/</guid>
<description>&#60;p&#62;Забавно :)
&#60;/p&#62;</description>
</item>
<item>
<title>nb on "4та wrong tests"</title>
<link>http://oldfmi.py-bg.net/forums/topic/82#post-526</link>
<pubDate>Mon, 30 Apr 2007 16:05:32 +0000</pubDate>
<dc:creator>nb</dc:creator>
<guid isPermaLink="false">526@http://oldfmi.py-bg.net/forums/</guid>
<description>&#60;p&#62;Понякога в модулите ви оставаха атрибути от модулите на преди</description>
</item>
<item>
<title>rattus on "4та wrong tests"</title>
<link>http://oldfmi.py-bg.net/forums/topic/82#post-525</link>
<pubDate>Mon, 30 Apr 2007 15:29:03 +0000</pubDate>
<dc:creator>rattus</dc:creator>
<guid isPermaLink="false">525@http://oldfmi.py-bg.net/forums/</guid>
<description>&#60;p&#62;А какво точно не му е харесвало в assertRaises ?
&#60;/p&#62;</description>
</item>
<item>
<title>nb on "4та wrong tests"</title>
<link>http://oldfmi.py-bg.net/forums/topic/82#post-523</link>
<pubDate>Mon, 30 Apr 2007 14:40:55 +0000</pubDate>
<dc:creator>nb</dc:creator>
<guid isPermaLink="false">523@http://oldfmi.py-bg.net/forums/</guid>
<description>&#60;p&#62;Оказа се, че проблемът с &#60;code&#62;assertRaises&#60;/code&#62; (както и с &#60;code&#62;max&#60;/code&#62; в един следващ пост) е в мен. Надявам се, че вече го няма.&#60;/p&#62;
&#60;p&#62;Махнах тестовете на &#60;code&#62;expand&#60;/code&#62;, в които участват каквито и да било безкрайности.&#60;/p&#62;
&#60;p&#62;Погледнете си пак тестовете и точките.
&#60;/p&#62;</description>
</item>
<item>
<title>uZer on "4та wrong tests"</title>
<link>http://oldfmi.py-bg.net/forums/topic/82#post-518</link>
<pubDate>Mon, 30 Apr 2007 09:16:44 +0000</pubDate>
<dc:creator>uZer</dc:creator>
<guid isPermaLink="false">518@http://oldfmi.py-bg.net/forums/</guid>
<description>&#60;p&#62;и при мен е същото&#60;/p&#62;
&#60;p&#62;ERROR: testIntersect (tester.ProblemTests)&#60;/p&#62;
&#60;p&#62;----------------------------------------------------------------------&#60;/p&#62;
&#60;p&#62;Traceback (most recent call last):&#60;/p&#62;
&#60;p&#62;  File &#34;.../test.py&#34;, line 71, in testIntersect&#60;/p&#62;
&#60;p&#62;Traceback (most recent call last):&#60;/p&#62;
&#60;p&#62;  File &#34;.../test.py&#34;, line 106, in testSum&#60;/p&#62;
&#60;p&#62;    self.assertRaises(ValueError, Interval.__add__, Interval(7, 99), Interval(101, 200))&#60;/p&#62;
&#60;p&#62;  File &#34;unittest.py&#34;, line 320, in failUnlessRaises&#60;/p&#62;
&#60;p&#62;    callableObj(*args, **kwargs)&#60;/p&#62;
&#60;p&#62;  File &#34;.../fn855097/2007-04-04 16:02:54/user.py&#34;, line 97, in __add__&#60;/p&#62;
&#60;p&#62;    if not self.intersects(i): raise ValueError&#60;/p&#62;
&#60;p&#62;ValueError: &#38;lt;user.ValueError instance at 0xb7b78c6c&#38;gt;&#60;br /&#62;
    self.assertEqual(None, Interval(3, None).intersect(Interval(None, 2.99)))&#60;/p&#62;
&#60;p&#62;  File &#34;.../fn855097/2007-04-04 16:02:54/user.py&#34;, line 68, in intersect&#60;/p&#62;
&#60;p&#62;    return Interval(ll,rr)&#60;/p&#62;
&#60;p&#62;  File &#34;.../fn855097/2007-04-04 16:02:54/user.py&#34;, line 9, in __init__&#60;/p&#62;
&#60;p&#62;    if left&#38;gt;right and right!=None: raise ValueError&#60;/p&#62;
&#60;p&#62;ValueError: &#38;lt;user.ValueError instance at 0xb7b8daec&#38;gt;&#60;/p&#62;
&#60;p&#62;и още&#60;br /&#62;
======================================================================&#60;/p&#62;
&#60;p&#62;FAIL: testExpand (tester.ProblemTests)&#60;/p&#62;
&#60;p&#62;----------------------------------------------------------------------&#60;/p&#62;
&#60;p&#62;Traceback (most recent call last):&#60;/p&#62;
&#60;p&#62;  File &#34;.../test.py&#34;, line 61, in testExpand&#60;/p&#62;
&#60;p&#62;    self.assertEqual(Interval(None, 60), i.expand(3, 5))&#60;/p&#62;
&#60;p&#62;AssertionError: Interval(None,60.0) != Interval(None,55.0)&#60;/p&#62;
&#60;p&#62;----------------------------------------------------------------------&#60;/p&#62;
&#60;p&#62;и описанието&#60;br /&#62;
expand(left=0, right=0) - раз</description>
</item>
<item>
<title>nb on "4та wrong tests"</title>
<link>http://oldfmi.py-bg.net/forums/topic/82#post-517</link>
<pubDate>Sun, 29 Apr 2007 22:13:51 +0000</pubDate>
<dc:creator>nb</dc:creator>
<guid isPermaLink="false">517@http://oldfmi.py-bg.net/forums/</guid>
<description>&#60;p&#62;Махнах проблемните части от теста със сравненията и теста с изваждането. Домързя ме да чета във форума и предположих, че ме коригирате :-)&#60;/p&#62;
&#60;p&#62;Относно &#60;code&#62;assertRaises&#60;/code&#62; &#38;mdash; проучвам проблема.</description>
</item>
<item>
<title>spartak on "4та wrong tests"</title>
<link>http://oldfmi.py-bg.net/forums/topic/82#post-516</link>
<pubDate>Sun, 29 Apr 2007 20:17:26 +0000</pubDate>
<dc:creator>spartak</dc:creator>
<guid isPermaLink="false">516@http://oldfmi.py-bg.net/forums/</guid>
<description>&#60;p&#62;</description>
</item>
<item>
<title>rattus on "4та wrong tests"</title>
<link>http://oldfmi.py-bg.net/forums/topic/82#post-515</link>
<pubDate>Sun, 29 Apr 2007 18:44:18 +0000</pubDate>
<dc:creator>rattus</dc:creator>
<guid isPermaLink="false">515@http://oldfmi.py-bg.net/forums/</guid>
<description>&#60;p&#62;Нали уточнихме че &#34; a &#38;lt; b като „b съдържа a“ &#34; е вкл. =&#60;br /&#62;
та защо self.assertFalse(Interval(1, 3) &#38;lt; Interval(1, 3)) ?&#60;/p&#62;
&#60;p&#62;-----&#60;/p&#62;
&#60;p&#62;Друго (сигурно тук вече имам гре</description>
</item>

</channel>
</rss>
